#include "sphere.h"

//! Constructor
Sphere::Sphere(vec3 position, double radius){
	this->position = position;
	this->azimuthX = 0.;
	this->azimuthY = 0.;
	this->azimuthZ = 0.;
	this->height = 2*radius;
	this->width = 2*radius;
	this->depth = 2*radius;

	this->radius = radius;

	rotateX = vec3( 1., 0., 0.);
	rotateY = vec3( 0., 1., 0.);
	rotateZ = vec3( 0., 0., 1.);
}

///----------------- GETTERS AND SETTERS -----------------

//! Returns the private field radius
double Sphere::getRadius() {
	return radius;
}
